let config = {
    loginUrl: '/login',

    addWeb: '/web/add',
    updateWeb: '/web/update',
    deleteWeb: '/web/delete',
    getUnCategoryWeb: "/web/get-un-category",
    setMultiCategory: "/web/set-multi-category",

    addWebCategory: '/web-category/add',
    getWebCategory: "/web-category/get",
    deleteWebCategory: "/web-category/delete",
    updateWebCategory: "/web-category/update",
    getAllWebCategories: "/web-category/get-all",
    setWebCategoryOrder: "/web-category/set-order",
    getSubCategory: "/web-category/get-sub",

    addSearch: '/search-engines/add',
    deleteSearch: '/search-engines/delete',
    updateSearch: '/search-engines/update',

    addSearchCategory: '/search-engines-category/add',
    deleteSearchCategory: '/search-engines-category/delete',
    updateSearchCategory: '/search-engines-category/update',
    getSearchCategory: '/search-engines-category/get',
}

if (process.env.NODE_ENV == 'development') {
    config.apiUrlPrefix = 'http://localhost:50000/api'
} else {
    config.apiUrlPrefix = '/api'
}


export default { config }
